import 'package:flutter/material.dart';
import 'package:flutter_svg/flutter_svg.dart';

class SocialLogin extends StatelessWidget {
  const SocialLogin({super.key});

  @override
  Widget build(BuildContext context) {
    return Row(
      mainAxisAlignment: MainAxisAlignment.spaceBetween,
      children: [
        buildItem("assets/images/twitter.svg"),
        buildItem("assets/images/twitter.svg"),
        buildItem("assets/images/twitter.svg"),
      ],
    );
  }

  Widget buildItem(String uri) {
    return Container(
      padding: const EdgeInsets.symmetric(vertical: 16, horizontal: 36),
      decoration: BoxDecoration(
        borderRadius: BorderRadius.circular(6),
        boxShadow: [
          BoxShadow(
            color: Colors.black.withOpacity(0.1),
            blurRadius: 7,
            blurStyle: BlurStyle.outer,
          )
        ],
      ),
      child: SvgPicture.asset(
        uri,
        width: 36,
      ),
    );
  }
}
